import request from '@/helpers/request';

export const getwarning = (data) => {
  return request(
    data.id ? '/api/alarm/select?vehicleId=' + data.id : '/api/alarm/select',
    {
      method: 'GET',
    },
  );
};
